var common = {
  TOKEN:'https://www.globalhexi.com/hexiMaoYi/webShop/hejiahe/web/getimtokenandcookieforjiami',
  CHECK_TOKEN: 'https://www.globalhexi.com/hexiMaoYi/webShop/hejiahe/web/checkTokenCookieIsUse',
  INDEX:'https://www.globalhexi.com/hexiMaoYi/webShop/hejiahe/transferCtrl/transfer',
}
const randomString = a => {//32位字符串
  a = a || 32;
  const $chars = 'qwertyuiopasdfghjklzxcvbnm0123456789';
  const b = $chars.length;
  let c = '';
  for (let i = 0; i < a; i++) {
    c += $chars.charAt(Math.floor(Math.random() * b));
  }
  return c;
}
const getString = (a, b) => {
  let c = '';
  for (let i = 0; i < a.length; i++) {
    c += b[a[i]];
  }
  return c;
}
//模块化
module.exports.common = common 
exports.randomString = randomString
exports.getString = getString